#pragma once

#include "HikCamera.h"
#include <iostream>
#include <string>
#include "ImageHandle.h"

extern const std::string executablePath;

std::string JSONPointLocation(std::vector<cv::Point2f> coordinates);

bool CameraRun(HikCamera &camera);
void SetCameraParam(HikCamera &camera);
void Display_server();
void Color2Gray_server();
void Binarization_server();
void CircleRecognition_server();
void RectangleRecognition_server();
void Template_server();
void CreateTemplate_server();
void TemplateMatch_Server();
void updateDetectionResult(DetectionResult &result,
                           cv::Mat &img_raw,
                           cv::Rect &roiRect);
